package com.vizhuo.client.business.match.goods.request;

import java.io.Serializable;

import com.vizhuo.client.base.PaginationRequest;
import com.vizhuo.client.business.match.goods.vo.BoundsVo;

/**
 * 
 * @ClassName: FindGoodsDescRequest
 * @Description: 查询待运货源(我要找货)
 * @author TANDP
 * @date 2015-7-9 下午1:56:12
 * 
 */
public class FindGoodsRequest extends PaginationRequest implements Serializable {

    public FindGoodsRequest(int appType, String loginToken, String uMengdeviceToken, String userName) {
        super(appType, loginToken, uMengdeviceToken, userName);
    }

    /**
     * 运输起点省编码
     */
    private String startProvice;//

    /**
     * 运输起点市编码
     */
    private String startCity;//

    /**
     * 运输终点省编码
     */
    private String endProvice;//

    /**
     * 运输终点市编码
     */
    private String endCity;//

    /**
     * 车辆类型
     */
    private String carType;

    /**
     * 排序字段,数据从FindGoodsConstant中取,默认按距离
     */
    private String orderbyStr;

    /**
     * 登录账号id
     */
    private int accountId;

    /**
     * 账号类型,(客户端不用传)CLIENT_TYPE_LIST,1006,1:司机,2:发货人,3:信息部/物流公司
     */
    private String accountType;

    /**
     * 是否接收同城货源,1:接收,0:不接收
     */
    private String isAcceptCity;

    private BoundsVo boundsVo;

    public FindGoodsRequest() {
        super();
    }

    /**
     * 
     */
    private static final long serialVersionUID = -4932157262760450312L;

    /**
     * 运输起点省编码
     * 
     * @return
     */
    public String getStartProvice() {
        return startProvice;
    }

    /**
     * 运输起点省编码
     * 
     * @param startProvice
     */
    public void setStartProvice(String startProvice) {
        this.startProvice = startProvice;
    }

    /**
     * 运输起点市编码
     * 
     * @return
     */
    public String getStartCity() {
        return startCity;
    }

    /**
     * 运输起点市编码
     * 
     * @param startCity
     */
    public void setStartCity(String startCity) {
        this.startCity = startCity;
    }

    /**
     * 运输终点省编码
     * 
     * @return
     */
    public String getEndProvice() {
        return endProvice;
    }

    /**
     * 运输终点省编码
     * 
     * @param endProvice
     */
    public void setEndProvice(String endProvice) {
        this.endProvice = endProvice;
    }

    /**
     * 运输终点市编码
     * 
     * @return
     */
    public String getEndCity() {
        return endCity;
    }

    /**
     * 运输终点市编码
     * 
     * @param endCity
     */
    public void setEndCity(String endCity) {
        this.endCity = endCity;
    }

    /**
     * 车型
     * 
     * @return
     */
    public String getCarType() {
        return carType;
    }

    /**
     * 车型
     * 
     * @param carType
     */
    public void setCarType(String carType) {
        this.carType = carType;
    }

    /**
     * 排序方式 数据从FindGoodsConstant中取
     * 
     * @return
     */
    public String getOrderbyStr() {
        return orderbyStr;
    }

    /**
     * 排序方式 数据从FindGoodsConstant中取
     * 
     * @param orderbyStr
     */
    public void setOrderbyStr(String orderbyStr) {
        this.orderbyStr = orderbyStr;
    }

    /**
     * 账号类型,(客户端不用传)CLIENT_TYPE_LIST,1006,1:司机,2:发货人,3:信息部/物流公司
     * 
     * @return
     */
    public String getAccountType() {
        return accountType;
    }

    /**
     * 账号类型,(客户端不用传)CLIENT_TYPE_LIST,1006,1:司机,2:发货人,3:信息部/物流公司
     * 
     * @param accountType
     */
    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    /**
     * 是否接收同城货源,1:接收,0:不接收
     * 
     * @return
     */
    public String getIsAcceptCity() {
        return isAcceptCity;
    }

    /**
     * 是否接收同城货源,1:接收,0:不接收
     * 
     * @param isAcceptCity
     */
    public void setIsAcceptCity(String isAcceptCity) {
        this.isAcceptCity = isAcceptCity;
    }

    public int getAccountId() {
        return accountId;
    }

    public void setAccountId(int accountId) {
        this.accountId = accountId;
    }

    public BoundsVo getBoundsVo() {
        if (boundsVo == null) {
            boundsVo = new BoundsVo();
        }
        return boundsVo;
    }

    public void setBoundsVo(BoundsVo boundsVo) {
        this.boundsVo = boundsVo;
    }

}
